﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace YSC_Core.BLL.Domain.ViewModels
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class YscUserModel
    {
        public string Id { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public string CreateId { get; set; }

        public string UserName { get; set; }
        public string Password { get; set; }
        public string Phone { get; set; }
        [Required]
        public int Sex { get; set; }
        [Required]
        public DateTime? Age { get; set; }
        public string AreaUnCode { get; set; }
        public string AreaName { get; set; }
        public string Introduce { get; set; }
        public string HeadPortraitUrl { get; set; }
        public string Background { get; set; }
        public bool IsAttest { get; set; }
        public string AttestType { get; set; }
        public string AttestName { get; set; }
        public string OpenId { get; set; }
    }

    public class YscUserMediaModel
    {
        public string Id { get; set; }
        public string HeadPortraitUrl { get; set; }
        public string Background { get; set; }
    }

    public class YscUserMSM
    {
        public string Phone { get; set; }
        public string smsCode { get; set; }
    }

    public class YscUserPasswordModel
    {
        public string Phone { get; set; }
        public string Password { get; set; }
    }
}
